﻿using System.ComponentModel.DataAnnotations;

namespace WMS_Goodsinfo.Api.Read.DTOS
{
    public class InOutListDto
    {
        /// <summary>
        /// 商品外键
        /// </summary>
        public int ProductI_Id { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        [Required]
        public string ProductNo { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [Required]
        public string ProductName { get; set; }
        /// <summary>
        /// 货品类型(下拉选择)
        /// </summary>
        public string ProductTypeId { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string ProductModel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 出入库编号
        /// </summary>
        public string InOutNo { get; set; }
        /// <summary>
        /// 出入库日期
        /// </summary>
        public string InOutTiem { get; set; }
        /// <summary>
        /// 业务类型(下拉选择)
        /// </summary>
        public string BusinessType { get; set; }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public string InOutType { get; set; }
        /// <summary>
        /// 仓库(货品表里的仓库)
        /// </summary>
        public string Inventory { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int InNumber { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutNumbber { get; set; }
        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal InMoney { get; set; }
        /// <summary>
        /// 出库金额
        /// </summary>
        public decimal OutMoney { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch_Id { get; set; }
        /// <summary>
        /// 制单日期(创建时间)
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 制单人(创建人)
        /// </summary>
        public string? Createer { get; set; }

    }
}
